convert_to_td extracted.
new file.
Unused method removed.
Use convert_to_td.