format the text