use 'unless' instead of 'if !' for simple conditional