add Reshuffle code