Added accumulator_factory