Add event controller