adding the stopwatch code
adding delegation example