added support for string responses