Total TR code