Batch input generator