edited friction compensation section