persistent data written and tex opbygning