Batch analysis