It's a bit hard to tell because the code isn't formatted, but I don't think the curly braces match. Specifically, perhaps there's a } missing at the end (to finish the class definition).

If...