- timer code and timesUp()