hash table add get method