modify base_model