a try to integrate friction better