Make use of the new event API