implemented event controller and store