CORAL GABLES, Florida (CNN) -- The following is a partial transcript of the debate between President Bush and Sen. John Kerry held Thursday night at the University of Miami. The topic of the debate is foreign affairs, and the moderator is Jim Lehrer of PBS:

LEHRER: We'll come back to Iraq in a moment. But I want to come back to where I began, on homeland security. This is a two-minute new question, Senator Kerry.

As president, what would you do, specifically, in addition to or differently to increase the homeland security of the United States than what President Bush is doing?

KERRY: Jim, let me tell you exactly what I'll do. And there are a long list of thing. First of all, what kind of mixed message does it send when you have $500 million going over to Iraq to put police officers in the streets of Iraq, and the president is cutting the COPS program in America?

What kind of message does it send to be sending money to open firehouses in Iraq, but we're shutting firehouses who are the first- responders here in America.

The president hasn't put one nickel, not one nickel into the effort to fix some of our tunnels and bridges and most exposed subway systems. That's why they had to close down the subway in New York when the Republican Convention was there. We hadn't done the work that ought to be done.

The president -- 95 percent of the containers that come into the ports, right here in Florida, are not inspected.

Civilians get onto aircraft, and their luggage is X-rayed, but the cargo hold is not X-rayed.

Does that make you feel safer in America?

This president thought it was more important to give the wealthiest people in America a tax cut rather than invest in homeland security. Those aren't my values. I believe in protecting America first.

And long before President Bush and I get a tax cut -- and that's who gets it -- long before we do, I'm going to invest in homeland security and I'm going to make sure we're not cutting COPS programs in America and we're fully staffed in our firehouses and that we protect the nuclear and chemical plants.

The president also unfortunately gave in to the chemical industry, which didn't want to do some of the things necessary to strengthen our chemical plant exposure.

And there's an enormous undone job to protect the loose nuclear materials in the world that are able to get to terrorists. That's a whole other subject, but I see we still have a little bit more time.

Let me just quickly say, at the current pace, the president will not secure the loose material in the Soviet Union -- former Soviet Union for 13 years. I'm going to do it in four years. And we're going to keep it out of the hands of terrorists.

LEHRER: Ninety-second response, Mr. President.

BUSH: I don't think we want to get to how he's going to pay for all these promises. It's like a huge tax gap. Anyway, that's for another debate.

My administration has tripled the amount of money we're spending on homeland security to $30 billion a year.

My administration worked with the Congress to create the Department of Homeland Security so we could better coordinate our borders and ports. We've got 1,000 extra border patrol on the southern border; want 1,000 on the northern border. We're modernizing our borders.

We spent $3.1 billion for fire and police, $3.1 billion.

We're doing our duty to provide the funding.

But the best way to protect this homeland is to stay on the offense.

You know, we have to be right 100 percent of the time. And the enemy only has to be right once to hurt us.

There's a lot of good people working hard.

And by the way, we've also changed the culture of the FBI to have counterterrorism as its number one priority. We're communicating better. We're going to reform our intelligence services to make sure that we get the best intelligence possible.

The Patriot Act is vital -- is vital that the Congress renew the Patriot Act which enables our law enforcement to disrupt terror cells.

But again, I repeat to my fellow citizens, the best way to protection is to stay on the offense.

LEHRER: Yes, let's do a little -- yes, 30 seconds.

KERRY: The president just said the FBI had changed its culture. We just read on the front pages of America's papers that there are over 100,000 hours of tapes, unlistened to.

On one of those tapes may be the enemy being right the next time.

And the test is not whether you're spending more money. The test is, are you doing everything possible to make America safe?

We didn't need that tax cut. America needed to be safe.

BUSH: Of course we're doing everything we can to protect America. I wake up every day thinking about how best to protect America. That's my job.

I work with Director Mueller of the FBI; comes in my office when I'm in Washington every morning, talking about how to protect us. There's a lot of really good people working hard to do so.

It's hard work. But, again, I want to tell the American people, we're doing everything we can at home, but you better have a president who chases these terrorists down and bring them to justice before they hurt us again.