add tree deep find function