change "M" var name to "ResourceModel"