Use if/then instead of [[/|| logic