hashtable imporvement