The poster clearly doesn't know how to use C2, but anyway. You've got event 3 as a sub-event of 2 (look at the indentation). You need event 3 to be a sub-event of event 1. It can be awkward to edit this, but drag event 3 just above event 2, then drag 2 above 3. That should sort out the indentation.
The "iterate through each score" is totally wrong. That is the name of your index, not a random comment.