Adding shuffle function