embryo: Avoid shadowing of the global index variable