i created the CompatibilityCalculator constructor.