rm primitive