for controlling the intensity of light