After a night on the streets, the pack of young boys move into Maiduguri's abandoned amusement park in the early morning to play on the broken-down rides.
Shoeless and wearing ragged clothes, they sprint to the merry-go-round, its chipped candy-coloured paint bleached by the scorching sun.
The horses are motionless but the boys laugh like they're in Disneyland, forgetting their troubles in a brief moment of joy.
They are among thousands of children orphaned by Boko Haram Islamists now living in the capital of Borno state, in northeast Nigeria.
"They are internally displaced persons (IDPs) but they are not in camp," said Salisu Ismail, a 42-year-old who works near the amusement park.
"There is no care for them, so they come here and play. They aren't supposed to be here, they should be in school but they don't have any access. It's really painful to see."
Boko Haram was founded in Maiduguri by a charismatic preacher who advocated a fundamentalist interpretation of the Koran and denounced Western influence in Nigeria.
Rampant poverty, high unemployment and government corruption attracted increasing numbers of followers even before the group turned to violence.
With those factors drivers for radicalisation, officials fear the city will remain a fertile breeding ground for extremism if the masses of orphans aren't taken care of.
Yet today they face the dilemma of how to get thousands of homeless children back to school in a desperately poor region where education has never been prioritised but is the key to preventing another jihadist uprising.
"We have an official number of over 52,000 orphans in Borno state," governor Kashim Shettima said.
"Unofficially, the orphans may number over 100,000. Half of them may be in Maiduguri. Without educating these youth, they will be monsters that consume all of us.
"It's a very huge challenge."
Even as the Nigerian army reclaims the last of the territory held by Boko Haram, whose name roughly translated from Hausa means "Western education is sin", their relentless assault on education continues to restrict development.
In some of the far-flung camps on the border of Niger and Cameroon, where the battle is still raging, there are no schools at all.
In Maiduguri, whose population has doubled to over two million due to those seeking shelter from the conflict, thousands of children are slipping through the cracks.
"A lot of children have never been to school," said UNICEF child protection specialist Samuel Manyok
"It's as bad as (the situation in) Somalia and South Sudan combined."
Getting children whose lives have been shattered by Boko Haram into class is just one hurdle to reintegrating them back into society when many have suffered traumatising experiences.