WASHINGTON (AP) — President Barack Obama and Chinese President Hu Jintao vowed closer cooperation on Wednesday on critical issues ranging from increasing trade between the world’s two largest economies to fighting terrorism.

But they also stood fast on differences, especially over human rights.

Obama acknowledged that differences on rights were “an occasional source of tension between our two governments.”

He said at a joint news conference with Hu at the White House, “We have some core views as Americans about the universality of certain rights: freedom of speech, freedom of religion, freedom of assembly.”

Obama said he drove that home forcefully in his discussions with the Chinese leader, but “that doesn’t prevent us from cooperating in these other critical areas.”

Hu, speaking through a translator, said both countries should “respect each other’s sovereignty, territorial integrity and development interests.”

Obama said, “I absolutely believe China’s peaceful rise is good for the world, and it’s good for America.”