Connection detector working