you should use an negative condition and an early return here.