Added networkToArray()