add case for hashtable