if: dangling else probably resolved; more testing