there are problems with the hash table, need to make better unit testing