Added debugging print of text content
Formatting