for S3