First iteration: streaming data