some changes in hash table