added descriptive syntax error messages