This water heater was installed without a permit and has to be made up to code. The code violations included the lack of a drip leg on the gas line, improper flue, no thermal expansion tank, and a short TP runoff tube.