a hash table write by c