beautified example of streams
checked section 3