some work of hashmap