added a comment to getElapsedTime method