building batch methods