Create repair model