Added permutation class