added leds on and off functions