Syntax error on line 34: unpaired '{' .
    next {
