Although in many cases this wouldn't work because you need to avoid the possibility of satisfying more than one if statement.