an on/off switch can be used for controlling a machine