modifications to batch process for production