added tm and test