td legen