Batch mode implemented