Well there was a written agreement, but the funds were released in 4 separate milestones.
However, once I'd released 40 percent of the money and it was slightly late, I'd already wasted 2 months and said goodbye to 40 percent of the funds, so I felt like I had to stick with it. A foolish move in retrospect!