adding event manager