tf code