updated validation formulas