naming refinement on reduce and scan