having some fun with the java 8 stream API