finished batch mode