completes #1396 - nested model for languages