tracks the number of matches left; timer now works