add functionality into the hashtable