Using a different version of permutations