corrected IF statement argument