complete
wrap write-tree