updated getNetwork to v2.0