add variables for number of leds and max intensity