permutation now independent of RNG system