modify the controller