tr not quite working yet, but getting there