grinder machine and their functions