upgrades to batch and quality checks