Trying to fix and find syntax error