Refactoring in order to include DAC value assessment in windows version.