added example dangling else