Added new shuffle function.