add TLD algorithm