added wchar_t