hasnetwork first attempt. Nonworking
hope this works