The cord was bad so that was the first thing to be replaced. While replacing the cord I saw the thermostat was new.