bug fixed adding to accumulators