improve the stopwatch