Adding conection network detection