prepare for TMT analysis
TMT impl
TMT fully functioning version