returning tree not branch