Fixed the text example

Now tested and working