made some changes to talk to leds