added code for s3