Made accumulator with closures.