added a structure to the text