getTree