added start time and end time