MOD refact to mapreduce
MOD refact to mapreduce