To repair or replace, that is the question