transformed the headers of a table