clearing in memory shuffle after each action.