changes in repair model generator