Added the MR code for fraud detection