implement stopwatch tracking