Changed if to unless.