modify the NewMapReduceSimulation