Which of the following is the correct function of the gizzard?