turning on and off values