Added debugging print of text content