track counter

in the original code is included, i just pasted the part on topic..

which is precisely why we ask you to post all of your code.

0x30 is better written as '0', IMO.