changes to bayesian types