Adedd check for connection