Add and use hashmap