connect to controller