getting closer on permutations