This is done by getAllNetworks