Add proper semicolons to functions and if statements
Add proper comments