changed Integer to Rational