added toggle for on an off