integrated option streams, better handling of errors in streams