Ah, that makes sense. I was trying to work out how you could get to gates_completed = 2 when one gate wasn't there. That's a nifty little tip!