Removed end_time and changed start_time to type time