some changes in stream