add functionality to Fraction class