add simple hashmap and heap