added reverse permutations