first draft of tree-to-tree rendering