process until endtime, not last event