Rewrote Boolean

Still have syntax error in if statement