Refactored _stream private method