Added reversepermutator