refactored ManyTrees