added formulas for 5.7