add unordered_map container to the Tag class to strore events