added accessors for numerator and denominator