adding bayes classifier