MS occupancy and more Bayesian functions