Finished loadNetwork.