keeping track of the number of misses