Test and
Removing parenthesis from if statements
Adding tests and using setters for flags