using switches, contacts or markings