refactoring in VerShuffling