first draft of the text data structure