What is the advantage of having a variable for totalTime instead of using timer.calculateTime()?