Consider renaming this to 'returnAccumulator' - it makes it easier to know that this is the thing that is being built without reading the code to the end