Understanding Bayes theorem with conditional probability