a simpler way to handle friction