Don't use nested if()s where using them doesn't make sense