add prior probabilities