total time now initialized correctly