setup the main to turn on LEDS