added method saveBlob