added some statistics and batch infos