simplified permutator