adding support for wstrings