Codes of TMT Tool