rmove code