add node_map to node struct