ewetzha: added stopwatch (slightly modified from the one in the blog)