Wrote initial formulas.