read_network with data_structures