Fixing spacing, operators, and adding missing semi-colon