rename this to isConnected