continued work on bayes q