made a change

1) This isn't quite the requirement
2) Is there a syntax issue here? Is `model` a local variable that is defined in this scope?