added permutation distribution