Get rid of an if