The Agrippa Defense Level: 'Unexpected token' bug

Hi all, when I try to run my code for the Agrippa Defense level it says I have an ‘unexpected token }’ on line 19 even though I only have 18 lines of code, as seen in the screenshot above. It keeps happening whatever I do to my code, so I’d really appreciate any advice or help to get past this and pass the level. Thanks! :smile:

The line number in the error message is misleading, this is what your problem is:

Line 10 closes 8
Line 13 closes 11
Line 14 closes 7
Line 15 closes 3
Line 16 closes 1
Line 17 closes ?

I suggest to remove line 15 or line 16.