change formatting of definitions
remote semicolons from if statements