Removed unecessary permutation method