changed IDictionary to hashtable