cleaning up model.