add network checking