now works in vs2012