scoped variables in the if/else blocks