missing semicolon and parentheses mismatch