how does the ball mill work