rm method