some more stream adventures through exercise 10