changed all occurences of globalNetwork to networkModel