This shouldn't be an if statement. Inline it using boolean operators