used Bytes instead of Blob