modify definition tot_time