correcting the if example