improve the stopwatch and Math.round