hash_table, converting base function