Inverted the boolean test from what I wanted it to be. Added a