Add MBM prototype code