added mdm bayes rgp2