nested if,radio buttons