bayes example