A method of neutralizing odor-causing bacteria in sulphur-containing hard water in the tank of a water heater is described. The method comprises utilizing a 420 aluminum alloy sacrificial anode and introducing into the tank of the water heater zing, herein in pellet form, in the tank to prevent the formation of bad odor contained in the sulphur containing hard water by neutralizing the bad odor producing bacteria.