adding mapreduce stuff