created writeable stream with new class