correctly nest if statements