fixing setter for model 2