opts for stream