add head logic to iterator