Added batch process.