new file: tr.py