Change: calculation of friction