combined hashmap and hashset