replaced Entry with HTNode everywhere, dropped Entry type