streamDemo copy updated