I found that after I had copied and pasted the code I got the error because the code had numbered bull-it points and the text editor had numbered bull-it points creating a syntax error.