working on par batch & ratio batch analysis