changed the controller for reals