add functions denominator and numerator