added functionality to RGB LEDs