Added endTime