added friction support