simplify the reduce builder