the if block in the else is merged into an elsif