Added network checking