added gettree controller