adding s3 definitions