adding stream as requirement