added a line to print the whole table. spontaniously it doesn't look too bad although there appear to be ridicilously high values sometimes and slightly too high values (above 15 anyways). also the timer jumps from 0 to 4 to 13 and then works normally, no idea why.