Is this right?  Is oldval every not the statsSources reference we just just to put into the set?  If it's not, why are we going to add the
newly registered source to the old set and not the new one we created?