matches key, numerator, denominator