The RMS survey