docs for friction example