Changing permutation type