cleaned up the rgb_led code