adding stream parsing block