started work on permutations