replace `client[bucket_name]` with `bucket`