updated coef method