separate out MR code sample and Non-MR code sample