adding a simple eventsmanager