add hash and hashmap