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