resolving nested if statements
resolving nested if statements