change interface of HashTable