get tr to use params