adding rms plot