Change structure of the text