added another example for mapreduce