minor tinkering in the map reduce