using hashtable