Use a simpler if statement