work with new s3 gem