removed old commented out code from fxn tnrs