make batch size an api option