Use OR to guard instead of IF.