Changed unordered map with unordered set