CONNECTING TO COMMAND