added event manager and sample event