make batch struct