Editing the controller