vc: implemented writable stream