commented out s3-adaptor code