fixed hashtable bug/started write up