moved create batch to object literal