making formulas