oops. forgot to call GPIO.setup() for the OFF switch. also removed the output call in the sleep loop in the ON switch. This was causing the ON command to be called each time in the loop, which i anticipated but it was preventing the off command from properly working