modified tm example