Just do two if statements so you don't have to check this again