add some mapreduce stuff