adding text attribute
tweeking file for text conversion