adding some trys to access leds