Add new code for adding subtrees easily