further improvements to nodeList