how to work on and repair a machine