Added canHavePermutations