txt can be undef, apparently.