change globalDictionary to lazily stored global constant