runs controller