added event manager.