begin port to Visual C++ 2013