Grading and batching