Added network check