use `unless` instead of `if not`