Replaced both. Unplugged from the outlet. Removed 3 screws from the back panel. Removed the timer. Replaced 1 wire at a time. Installed timer. Put screws in the back panel. Put the knob on the timer. Plugged back into the outlet, turned on. Worked great. Saved about $300 doing it myself. Done in under 15 minutes.