added wall friction