changes to diffmapper + mapreduce