refactoring Streams