fixed streaming example