As:C Wacky - added conditional statement

As:C Wacky - added conditional statement