modify mapreduce