added bayes classifier