Optimization 2 - formulas - completed.