Integrated Shuffle Funtion