Before repair controller