Oops! Added comments to the top of agent.rb.