add start and end time to output