Fixed to use the new NetworkVariables