work with new s3 package api