using s3 and mongo