added support for string type