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