Please add the necessary punctuations or missing capital letters to this sentence:

quick shouted nina the water will trap us in the cave if we don’t hurry I know screamed james trying to be heard above the thundering waves as james ran his feet barely touched the ground

"Quick!" shouted Nina. "The water will trap us in the cave if we don’t hurry!"

"I know!" screamed James, trying to be heard above the thundering waves. As James ran, his feet barely touched the ground.