modified checkNet