Almost done, have to fix updateNetwork.