moved to using a tchain rather than merging trees