Shut off water to the home and drained the system. Removed existing water heater and replaced with a 50 gallon gas water heater. Installed a new shut off valve for the water heater and properly mounted the thermal expansion tank. Turned on the water and pressurized the system. The water heater is heating properly. No leaks detected.