Actually using the permutation instead of the permutation index (derp)