adjusted event controller