updated formulae