added a `willend` event.