initialize as wstr then cast to whatever