consider event end date