adding text to the internal representation