There's a stray } on line 397...