Changed adjust_probabilities