basic skeleton for hashtable code