minor point, but auto reformatting in VS will always remove the indent on #if #endif so may want to remove them now