formatting rm