add methods for dealing with text.