reorganize tree-based methods