adding stream api tutorial