starting up the controller