Added an array to store address of new nodes.