adapting to visual studio