implement MDR code in NCFS