modifying the text Structure