shuffle patterns