final, corrected the sum of time