permutationprobabilities..not working yet
merge