stable api of rms