modified assignment of node after lookup call