refactor (model)