Added support for Rational numbers