permutations and rPs