adding permutationstep