a machine is turned on after a button is pushed