I can not for the life of me figure out what is causing this error. I've been staring at it for half a day now, adding parenthesis and curly brackets everywhere and just throwing stuff in. I have no idea why it is throwing the parse error. Here's the code: