connectedCheck still does not work