mr implementation