Yes that's better, just need to add in to the main loop something that calls tables to set up the digits to display, maybe display -- for no note, then decrement note so that you can call a table with the first note at the start. Subtract 2 from octave if that table is the same layout.