Modified controller.