nesting models working