changing internals of ScanWordsNode, still some work to do.