permutations works finally?