dynamic number of LEDs