M is variable and set to R