simple nested if example