map reduce with processes