adding startClock(), stopClock(), and getElapsedTimeSecs()