Updated tr.coffee