permutations done