use tree for glg