Finish implementing accumulator.run().