processing data with a hash table