completes hash table