use pointer for the network structure in class figure