converted to vs2010