changes in the repair model generator