added real numbers and changed the formulas to make sense