result stream generation