trying to make s3 work