corrected start_time end_times to midnight