added auto connect