scan for nodes to be extracted