put sample text into a tree