housecleaning: cleaned up leds[] assignment code