Made getTotalTime abstract and removed code.