updating so the nono solver only prints the permutation