Added shuffling design pattern.