ht.h: add more comments