Removed unused code!
Permutation done!