working on formulas and other variables