added axample with tm flexibility