added event controller