Added random shuffling functions