added an id field to the network