add support for parsing text