add total time to output