add led on and off functions