Can you post the exact error? It should give you a line and column number that tells you exactly where there's a mistake. Also, if you can add the proper indentation it makes it much easier to scan...