use range and other cleanups for batcher
Also use a range in the outlet