a digital stop-watch for an arbitrary purpose