implemented liaison with S3