created treePolicy and defaultPolicy but have not tested