native bayes code commit