#52 do chunked output