finished shuffling for hw8