Removing an extra bracket
adding missing semicolons