change to total_time