before translation to vs2012