hashmap implementation added