added event controller and event modification