added methods for creating a batch