+ change config.model to Class