added consumed cap to batch