adding stream to streamexample