reformat the text