use treeBuilder