add total_time helper method