working hashmap