not finding all permutations