add BayesModel