Coding for MDMP Demo