Duhok (Iraq): When shells began crashing around the town of Tal Afar as militias brought the fight to IS in northern Iraq, Abu Faraj saw his chance to escape captivity.
He and 17 other members of the Yazidi religious community, one of Iraq's oldest minorities, moved to the town's outskirts while their IS captors were busy with the battle.
Four days later, in the early evening, they fled. The group, which included women and children, walked overnight through the desert and hours later reached Kurdish-controlled territory -- and safety.
"I remember the exact time we decided to flee, it was 6:50pm," said Abu Faraj, 23, who had waited more than two years for that moment.
"We had to walk in single file through the desert and follow each other's footsteps in case the area was mined," he said, giving an alias for fear of identification by IS militants, who still hold some of his relatives.
The group, including Abu Faraj's wife and two daughters, were captured when IS overran Sinjar in northern Iraq in August 2014.
The insurgents systematically killed, captured and enslaved thousands of Yazidis.
Mass Yazidi graves have been found since Kurdish forces retook areas north of Sinjar in December 2014, and the town itself in November 2015, but IS had already transferred many Yazidis to other areas, including Tal Afar.
Reports from the area suggest thousands of people have fled Tal Afar in recent days as the paramilitary groups -- assisting a US-backed operation to drive IS out of the city of Mosul to the east -- advanced.
Most of those feared sectarian revenge by fighters.
But Yazidis are also among them, and for Abu Faraj and his fellow Yazidis, who squat for now in a half-finished building in the northern city of Duhok, the escape has been a huge relief.
"We left our house when other people were also fleeing. We didn't ask who they were, whether they were Daesh (IS) families. We just used the chaos to go," he said.
"Under Daesh (IS) we watched executions, beatings. You name it, we've seen it."
Abu Faraj, who worked as a slave labourer in Tal Afar, is among the few young Yazidi men to have escaped IS. He did not say how he managed to survive when others had disappeared or been killed, also for fear of identification.
"The rest of the group are women, children and elderly," he said.
UN investigators said in a report in June that IS is committing genocide against the Yazidis in Syria and Iraq to destroy the community of 400,000 people through killings, slavery and other crimes.
One 42-year-old woman, who gave her name only as "a member of the Meshu family" and covered her face with a scarf, made the same journey as Abu Faraj with her three youngest children.
"When we finally made it to a peshmerga (Kurdish forces) position, we took our veils off and raised our hands -- with our all-black clothes we were scared they'd think we were Daesh (IS) and shoot us," she said.
Her husband, 16-year-old son and 20-year-old daughter had been separated from her and the younger children when they were first taken by the militants.
"I don't know what has happened to them, or where they are," she said.
IS took many Yazidi girls as slaves.
The family was moved from town to town after their capture, spending some time in makeshift prisons and the rest under what amounted to house arrest in Tal Afar.
"We didn't leave the house except to get essential supplies. I avoided sending the kids to an IS school," she said.
"Daesh IS militants gave us just enough to eat, but it was often dirty food and water," she said, sitting next to her tired and pale children.
The Office of Kidnapped Affairs in Duhok, a department backed by the Kurdistan regional government, said about 3,500 Yazidis were believed to remain in areas controlled by IS, many of them women and children.
But even for those who have escaped, the ordeal is not over.
"Now, we don't know what we'll do, if we'll be able to get home, even where we'll sleep tonight. It's up to God," said Abu Faraj.