modified for RSK test