1.3 check the permutation strings.