- implented MakeTree