base hashtable functions done