Editin ReduceImpl and ShufflerImpl