Added node tree search functions