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