converted to vs2008