```ruby
class AmazonRetrievalJob
  def self.get_amazon_stuff
    # Get objects from inside the the-golden-record bucket
    # Using objects' information, create and save Track objects and clean out old objects
    s3 = Aws::S3::Client.new(region: "us-east-1")
    bucket = s3.list_objects(bucket: "the-golden-record")

    bucket.contents.each do |track|

    end

  end
end
```

Add method to create new Tracks from database
user
```ruby
class AmazonRetrievalJob < ActiveRecord::Base
  def self.get_amazon_tracks
    # Get objects from inside the the-golden-record bucket
    # Using objects' information, create and save Track objects and clean out old objects
    s3 = Aws::S3::Client.new(region: "us-east-1")
    bucket_contents = s3.list_objects(bucket: "the-golden-record").contents

    bucket_contents.each do |track|
      Track.create(title: track.key.split(".")[0..2].join, url: "https://the-golden-record.s3.amazonaws.com/#{track.key}")
      # https://the-golden-record.s3.amazonaws.com/#{track.key}
    end

  end
end
```
assistant