Use 'unless' instead of 'if not'