change unordered_map to map in Scope, because keys are strings