added accumulator array