Code

aconnect: assign variable first, then start connect