use hash_init