did i forget a closing 'end'?

This is an interesting way to learn a language…