hash table lookup explained