Added evaluating of the formula.