added batchsize