End time and total time is set