reformat texts