The end time shoud by right should be after start time. 