fixed code that adds to the concurrent dictionary, now conforms with recommended usage