mapreduce for new q2