Restored VS2013 Code