shuffling and simplification