modified stream