manual merge of Tree model