adds the last of the formulas