Finished changing self.model to obj.Model