added global accumulator concept to reduce-rule