added rms db output