updating s3 functions
temporarily placed in some test functions