added parameter to decrease the brightness of the screen