operation of grinding machine