MapReduce portion working