other stuff to get the tr to work