Updated conditional statement