added dictionary accumulator
Merge because Jason added stuff