treebuilder examples