simplifications using MapReduce