Three levels of understanding Bayes' theorem