merged analyzer and reducer