add the code to VS 2010