add mapped reduce