the workings of a grinding machine