looks good.  I added an incrementer for the 'counter', which I think
was missing.