better recent batch handling