Don't know where the declaration of i got lost, but this definitely won't build. That's a bit embarrassing, time to fix this branch.