completes #1392 - nested model for coursework