modified hash table