Added function to reset time for convenience.