renamed probabilities to permutations because it is the proper name