Some half million Gaza children made a delayed return to school today after a devastating 50-day war with Israel that killed more than 2,100 Palestinians and damaged hundreds of school buildings.

Gaza Education Ministry official Ziad Thabet said the opening is for 230,000 1st to 12th graders attending public schools, 200,000 going to United Nations-run schools and tens of thousands enrolled in private institutions.

The opening was delayed for two weeks because of damage to schools and the diversion of U.N. school buildings for use as temporary centres to house tens of thousands of displaced people. Some 50,000 people are still being housed in the U.N. schools, the U.N. Palestinian refugee agency said.

Thabet said that unlike in previous years the first week of instruction in government schools will be given over to providing psychological counseling and recreational activities to help the war-weary children transition to learning.

“We gave special training to more than 11,000 teachers and 3,000 principals and administrators about how to address students after the war,” he said.

Thabet said 26 Gaza schools were destroyed during the war, and another 232 sustained damage.

He said government funding for education remains spotty, with no money provided for operational expenses since the formation of a unity government earlier this year between Hamas, the Islamic militant group that runs Gaza, and the Western-backed Palestinian Authority based in the West Bank.

UNICEF official June Kunugi echoed his concerns.

“Investing in education is an investment for the future,” she said. “Without increased support and commitment to their education and protection, an entire generation in Gaza could be lost.”

The U.N. Palestinian refugee agency says it is providing 130,000 school bags and teaching aids for government schools, and that it has carried out training programs for nearly 12,000 school counsellors, teachers and supervisors.