add add_controller method