add candidate text node find function