add MR support