changed how streams iterates its data