Added methods to control the LED