search now uses TreeNode for rendering results;