adding bayes to IncPer file