remove debug msg
lines
inspect for TextElement
debug code (commented out)