refine models.