an on/off switch is used for controlling a machine.