Adding end time to output messages