phase2 MapReduce &  q4