updated source for visual studio