working on new implementation with BlobStream