shuffling added to classification template