make it work on VS 2010