rm class