an on/off switch is for regulating the electric current to something