using nested models in a survey app