s3 and gem