use permutation without shuffle