added rms_from