attempt at autoconnect