added support for text operations