50 gallon water heater was leaking when I arrived. We decided to replace the water heater same day. Installed Rheem 50 gallon natural gas water heater. Replaced all water pipe from the wall to the heater. Installed a new ball valve and expansion tank. Gas line was extended and strapped to the wall to meet code requirements. Installed a new gas valve, flex connector, and sediment trap. Water heater is sitting in a pan that is capped with a leak alarm. The exhaust vent was changed to double wall due to being in an unconditioned space. Water heater is set at 120 degrees.