srqt function