working on k coef