generate next batch