hash table now works