using "const std::wstring" instead of just "std::wstring" where applicable