replaced stream