added the hash table related methods