revised for stopwatch