bayesian problem version 2