Added vars and methods to handle LEDs