changed the controllerr