add a hash table, not tested