a machine works while a surface is rubbed