Added formatElapsedTime