function of grader in mining