corrected the time spent