add functionality to accept an event