getNetwork implementation