batch StreamRecord Refactored