adding mapreduce