adding end_time to state EarliestTimeAfter