build batch