Finding the node to use for tokens