hashtable and graphsearch