bayes pre redundant import removed