adding subtrees