network detection.