tst response function