Added call to formatTime