the counter seems to be working great.  just have to add random number generator