add another function to hashtable