initial TTrie functionality