corrected LED matrix example