hash table functions completed