replaced a formula with the equivalent variable.