feature: save result to stream