Work on map reduce